package com.mytaobao.main.firsttab.func.headline;


import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentPagerAdapter;

public class HeadlineAdapter extends FragmentPagerAdapter {

    public static ItemHeadLine itemHeadLine = new ItemHeadLine();

    public HeadlineAdapter(FragmentManager fm) {
        super(fm);
    }
    @Override
    public Fragment getItem(int position) {
        // getItem is called to instantiate the fragment for the given page.
        // Return a HeadlineSimplePagerAdapterFragment (defined as a static inner class below).
        return HeadlineSimplePagerAdapterFragment.newInstance(position);
    }
    @Override
    public int getCount() {
        return 3 + 2;
    }
    @Override
    public CharSequence getPageTitle(int position) {
        return null;
    }

}
